package com.trkj.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;


/**
 * The persistent class for the ATTENDANCERESULTADJUST database table.
 * 
 */
@Entity
@NamedQuery(name="Attendanceresultadjust.findAll", query="SELECT a FROM Attendanceresultadjust a")
public class Attendanceresultadjust implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="ATTENDANCERESULTADJUST_ATTREADID_GENERATOR", sequenceName="HR")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="ATTENDANCERESULTADJUST_ATTREADID_GENERATOR")
	@Column(name="ATTREAD_ID")
	private long attreadId;

	@Column(name="ATTREAD_ADJUSTMENT")
	private String attreadAdjustment;

	@Column(name="ATTREAD_DURATION")
	private String attreadDuration;

	@Column(name="ATTREAD_ENDDATE")
	private Timestamp attreadEnddate;

	@Column(name="ATTREAD_ENDUPDATE")
	private Timestamp attreadEndupdate;

	@Column(name="ATTREAD_FOUNDDATE")
	private Timestamp attreadFounddate;

	@Column(name="ATTREAD_LENGTH")
	private BigDecimal attreadLength;

	@Column(name="ATTREAD_PERSON")
	private String attreadPerson;

	@Column(name="ATTREAD_REMARKS")
	private String attreadRemarks;

	@Column(name="ATTREAD_STARTDATE")
	private Timestamp attreadStartdate;

	@Column(name="ATTREAD_TYPE")
	private String attreadType;

	@Column(name="ATTREAD_UPDATE")
	private Timestamp attreadUpdate;

	//bi-directional many-to-one association to StaffInformation
	@ManyToOne
	@JoinColumn(name="STAIN_ID")
	private StaffInformation staffInformation;

	public Attendanceresultadjust() {
	}

	public long getAttreadId() {
		return this.attreadId;
	}

	public void setAttreadId(long attreadId) {
		this.attreadId = attreadId;
	}

	public String getAttreadAdjustment() {
		return this.attreadAdjustment;
	}

	public void setAttreadAdjustment(String attreadAdjustment) {
		this.attreadAdjustment = attreadAdjustment;
	}

	public String getAttreadDuration() {
		return this.attreadDuration;
	}

	public void setAttreadDuration(String attreadDuration) {
		this.attreadDuration = attreadDuration;
	}

	public Timestamp getAttreadEnddate() {
		return this.attreadEnddate;
	}

	public void setAttreadEnddate(Timestamp attreadEnddate) {
		this.attreadEnddate = attreadEnddate;
	}

	public Timestamp getAttreadEndupdate() {
		return this.attreadEndupdate;
	}

	public void setAttreadEndupdate(Timestamp attreadEndupdate) {
		this.attreadEndupdate = attreadEndupdate;
	}

	public Timestamp getAttreadFounddate() {
		return this.attreadFounddate;
	}

	public void setAttreadFounddate(Timestamp attreadFounddate) {
		this.attreadFounddate = attreadFounddate;
	}

	public BigDecimal getAttreadLength() {
		return this.attreadLength;
	}

	public void setAttreadLength(BigDecimal attreadLength) {
		this.attreadLength = attreadLength;
	}

	public String getAttreadPerson() {
		return this.attreadPerson;
	}

	public void setAttreadPerson(String attreadPerson) {
		this.attreadPerson = attreadPerson;
	}

	public String getAttreadRemarks() {
		return this.attreadRemarks;
	}

	public void setAttreadRemarks(String attreadRemarks) {
		this.attreadRemarks = attreadRemarks;
	}

	public Timestamp getAttreadStartdate() {
		return this.attreadStartdate;
	}

	public void setAttreadStartdate(Timestamp attreadStartdate) {
		this.attreadStartdate = attreadStartdate;
	}

	public String getAttreadType() {
		return this.attreadType;
	}

	public void setAttreadType(String attreadType) {
		this.attreadType = attreadType;
	}

	public Timestamp getAttreadUpdate() {
		return this.attreadUpdate;
	}

	public void setAttreadUpdate(Timestamp attreadUpdate) {
		this.attreadUpdate = attreadUpdate;
	}

	public StaffInformation getStaffInformation() {
		return this.staffInformation;
	}

	public void setStaffInformation(StaffInformation staffInformation) {
		this.staffInformation = staffInformation;
	}

}